﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPC.Offer.Common
{
    public sealed class SystemKeys
    {
        //系统版本==================================================
        /// <summary>
        /// 版本号全称
        /// </summary>
        public const string ASSEMBLY_VERSION = "1.0.0";
        /// <summary>
        /// 版本年号
        /// </summary>
        public const string ASSEMBLY_YEAR = "2017";

        //Session=====================================================
        /// <summary>
        /// 验证码
        /// </summary>
        public const string SESSION_CODE = "dt_session_code";

        /// <summary>
        /// 登陆用户
        /// </summary>
        public const string SESSION_USERINFO = "dt_session_userinfo";

        /// <summary>
        /// 超级管理员标志
        /// </summary>
        public const string SESSION_ADMIN = "dt_session_admin";

        //Cookies=====================================================
        /// <summary>
        /// 记住用户名
        /// </summary>
        public const string COOKIE_USER_NAME_REMEMBER = "dt_cookie_user_name_remember";
        /// <summary>
        /// 记住密码
        /// </summary>
        public const string COOKIE_USER_PWD_REMEMBER = "dt_cookie_user_pwd_remember";
        /// <summary>
        /// 记住用户登录角色
        /// </summary>
        public const string COOKIE_USER_ROLE_REMEMBER = "dt_cookie_user_Role_remember";
        /// <summary>
        /// 记住用户ID
        /// </summary>
        public const string COOKIE_USER_UserID_REMEMBER = "dt_cookie_user_Userid_remember";
        /// <summary>
        /// 记住用户住址名称
        /// </summary>
        public const string COOKIE_USER_OrganizeName_REMEMBER = "dt_cookie_user_OrganizeName_remember";
        /// <summary>
        /// 记住角色权限
        /// </summary>
        public const string COOKIE_USER_ROLE_RIGHT = "dt_cookie_role_right";
    }
}
